package com.ychen.commons.entity.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ychen.commons.entity.BaseEntity;
import lombok.Data;
import org.springframework.data.annotation.Id;

@Data
@TableName("favorite")
public class FavoriteEntity extends BaseEntity {

    @Id
    private Long favoriteId;
    private Long userId;
    /**
     * 商品sku id 可以连接到某个商品
     */
    private Long skuId;
    /**
     *'收藏的商品图片取第一张'
     */
    private String skuImageUrl;
    /**
     *'商品名'
     */
    private String goodsName;

}
